package com.example.homework.entity;

public class Users {
    private String username;
    private String password;
    private  int gender;//性别：0-未知，1-男，2-女
    private String date_of_birth;
    private Long userId;

    public Users() {
    }

    public Users(String username,String password,int gender ,int date_of_birth,Long userId) {
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.userId = userId;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getDate_of_birth() {
        return date_of_birth;
    }

    public void setDate_of_birth(String date_of_birth) {
        this.date_of_birth = date_of_birth;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
